<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="/WEB-INF/tld/c.tld" %>
<%@ taglib prefix="lr" uri="/jing/yue/loadresource" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%@page import="com.jing.system.comm.contants.WeiboCons"%><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>妞妞助手-淘宝绑定微博用户登录</title>
<link rel="shortcut icon" href="resources/images/icon.png" />
<link rel="Bookmark" href="resources/images/icon.png" />
<meta http-equiv="keywords" content="妞妞助手,微博工具,微博粉丝管理">
<meta http-equiv="description" content="妞妞助手">
<lr:css webroot="${pageContext.request.contextPath}" csslibs="commonCss,layoutCss,colorboxCss"/>
</head>
<body>
淘宝绑定微博用户登录:
<br />
<a href="https://api.weibo.com/oauth2/authorize?client_id=${client_ID}&response_type=code&redirect_uri=${redirect_URI}&forcelogin=${forcelogin}"><img src="${pageContext.request.contextPath}/resources/images/weibo/weiboBut.png" /></a>
</body>
<lr:js webroot="${pageContext.request.contextPath}" jslibs="jquery,jqueryColorbox,promptUtil"/>
<script type="text/javascript">
$(function() {
	<c:choose>
		<c:when test="${param.errorCode != null && param.errorCode != '' && param.errorCode != 'error'}">
			alert("<%=WeiboCons.getErrorMsg(request.getParameter("errorCode"))%>");
		</c:when>
		<c:when test="${param.errorCode != null && param.errorCode != '' && param.errorCode == 'error'}">
			alert("系统异常，请稍后再试!");
		</c:when>
	</c:choose>
});
</script>
</html>